package com.dw.dwdzcommerce.base.net;

/**
 * Created by zz on 15/12/2.
 */
public class NetFactory {

    private static NetFactory factory = new NetFactory();
    private static BaseNetImpl moduleImpl;

    public static NetFactory getFactory() {
        return factory;
    }

    public BaseNet getDefault() {
        if (moduleImpl == null) {
            moduleImpl = new BaseNetImpl();
        }
        return moduleImpl;
    }
}
